POV-Ray : Newsgroups : povray.beta-test : png gamma error : Re: png gamma error Server Time
31 Jul 2024 06:16:45 EDT (-0400)
  Re: png gamma error  
From: Warp
Date: 25 Sep 2001 12:54:44
Message: <3bb0b6d4@news.povray.org>
From all this discussions it's starting to seem to me that the best way
to go is just that POV-Ray would not write any gamma correction value to
the PNG. This way it works exactly like when writing to any other image
format.

  As this only requires commenting out 2 lines of the source code, it should
be easy to implement. Of course it can be discussed (for an eternity) whether
this really is the correct way of doing it.
  If the final version of 3.5 will behave like the current beta, I'll certainly
comment that part myself by hand when compiling the unix version. Of course
the Windows version will still have the problem as I don't have any compiler
for that...

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.